# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: fuse-compress-9999.ebuild 226 2014-12-12 15:15:13Z dubkat $

EAPI=5
inherit eutils subversion

DESCRIPTION="FuseCompress provides a mountable Linux filesystem which transparently compresses its content."
HOMEPAGE="https://code.google.com/p/fusecompress/"
ESVN_REPO_URI="http://fusecompress.googlecode.com/svn/trunk/"
ESVN_PROJECT="fuse-compress"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="lzo lzma gzip bzip2"

RDEPEND="
	sys-fs/fuse
	sys-libs/zlib
	app-arch/xz-utils
	app-arch/bzip2
	dev-libs/lzo
"
DEPEND="${RDEPEND}"

#pkg_setup() {
#
#}

src_unpack() {
	    subversion_src_unpack
}

src_configure() {
	./autogen.sh && econf
}

src_install() {
	#emake \
	#	DESTDIR="${D}" \
	#	DOC='COPYING BUGS README' \
	#	docdir=/usr/share/doc/${PF} \
	#	install
	einstall
	dodoc COPYING BUGS README

}

pkg_postinst() {
	elog "Please read https://code.google.com/p/fusecompress/wiki/Usage on how to get started."
}

